Skip to content

Conversation

@samiuelson
Copy link
Contributor

@samiuelson samiuelson commented Aug 12, 2025

Display "POS" label in Most recent orders section

WOOMOB-949

Description

This PR displays POS badge next to Order status in My Store -> Most recent orders section

Steps to reproduce

Testing information

  1. Go to My store
  2. Ensure Most recent orders section is added to dashboard
  3. Verify POS badge is visible next to order status in case the order was made in POS

Screenshots

image
  • I have considered if this change warrants user-facing release notes and have added them to RELEASE-NOTES.txt if necessary.

@wpmobilebot
Copy link
Collaborator

wpmobilebot commented Aug 12, 2025

App Icon📲 You can test the changes from this Pull Request in WooCommerce iOS Prototype by scanning the QR code below to install the corresponding build.

App NameWooCommerce iOS Prototype
Build Numberpr16006-ed7c78b
Version23.0
Bundle IDcom.automattic.alpha.woocommerce
Commited7c78b
Installation URL6a2h4o6v4gmd8
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

@samiuelson samiuelson added the type: task An internally driven task. label Aug 12, 2025
@samiuelson samiuelson added this to the 23.1 milestone Aug 12, 2025
@samiuelson samiuelson requested a review from Copilot August 12, 2025 15:59
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a "POS" label to identify Point of Sale orders in the Most recent orders section of the My Store dashboard. The change enhances order visibility by displaying a distinctive badge next to the order status when an order was created through POS channels.

  • Adds conditional "POS" badge display next to order status in dashboard rows
  • Implements feature flag gating for the POS orders feature
  • Updates UI layout to accommodate the new badge with proper spacing and styling

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
LastOrderDashboardRow.swift Adds POS badge UI components and view model logic to display sales channel information
RELEASE-NOTES.txt Documents the new POS label feature for user-facing release notes

@samiuelson samiuelson marked this pull request as ready for review August 12, 2025 16:07
@samiuelson samiuelson requested a review from staskus August 12, 2025 16:07
Copy link
Contributor

@staskus staskus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Looks and works well.

We could consider matching the corner radius for a status badge between most recent orders and orders list.

@samiuelson samiuelson enabled auto-merge August 14, 2025 11:56
@samiuelson samiuelson merged commit 202f336 into trunk Aug 14, 2025
14 checks passed
@samiuelson samiuelson deleted the woomob-949-woo-mobile-pos-orders-display-badge-on-most-recent-orders branch August 14, 2025 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: task An internally driven task.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants